Using signals schema instead of columns to calculate dataset schema#1404
Closed
ilongin wants to merge 1 commit into
Closed
Using signals schema instead of columns to calculate dataset schema#1404ilongin wants to merge 1 commit into
ilongin wants to merge 1 commit into
Conversation
Contributor
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis PR refactors how the dataset schema is computed by deriving a flat schema from the unified signals schema (including system signals) rather than reconstructing it from column definitions. It adds a clone_with_sys_signals helper to merge system columns, generates flat_schema in DataChain.save, and propagates flat_schema through query/dataset.save and catalog.create_dataset, replacing the previous inline column-based schema logic. File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Deploying datachain-documentation with
|
| Latest commit: |
42f2b0b
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://6dd3bbe1.datachain-documentation.pages.dev |
| Branch Preview URL: | https://ilongin-1403-use-signal-sche.datachain-documentation.pages.dev |
Contributor
|
@ilongin ping |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
WIP
Summary by Sourcery
Use the signals schema to compute and pass both hierarchical and flat dataset schemas across save and dataset creation APIs, eliminating manual column-based schema logic
New Features:
Enhancements: